package com.onvifdemo.dto;

/**
 * @author 董光新
 * @date 2020/04/25
 * 
 *       table:yunwei.td_ipc_lock_syn_fvo
 */
public class DeviceInfo {

	private Integer id;
    String deviceIP;
    // 摄像机上的时间
    String time;
    String ntpIp;
    int errorCode;
    String errorMsg;

    // 采集服务器的时间
    String sysTime;

    // 是否同步（是，否，未知）
    String is_lock_syn;

    // 时间差：秒
    long time_diff;

    public long getTime_diff() {
        return time_diff;
    }

    public void setTime_diff(long time_diff) {
        this.time_diff = time_diff;
    }

    public String getSysTime() {
        return sysTime;
    }

    public void setSysTime(String sysTime) {
        this.sysTime = sysTime;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getDeviceIP() {
        return deviceIP;
    }

    public void setDeviceIP(String deviceIP) {
        this.deviceIP = deviceIP;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getNtpIp() {
        return ntpIp;
    }

    public void setNtpIp(String ntpIp) {
        this.ntpIp = ntpIp;
    }

    public String getIs_lock_syn() {
        return is_lock_syn;
    }

    public void setIs_lock_syn(String is_lock_syn) {
        this.is_lock_syn = is_lock_syn;
    }

    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
    public String toString() {
        return "DeviceInfo [deviceIP=" + deviceIP + ", time=" + time + ", ntpIp=" + ntpIp + ", errorCode=" + errorCode
            + ", errorMsg=" + errorMsg + ", sysTime=" + sysTime + ", is_lock_syn=" + is_lock_syn + ", time_diff="
            + time_diff + "]";
    }

}
